﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ModelGymTauro;

namespace ViewGymTauro
{
    public partial class Rutina_agregar : Form
    {
        private List<Rutina> listRut = new List<Rutina>();
        public Rutina_agregar()
        {
            InitializeComponent();
            listRut = IniciaSesion.gymMan.queryAllRutina();
            //refreshRutina();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            Rutina a = new Rutina();
            //a.Descripcion = this.txtDescripRutina.Text;
            //a.Nombre = this.txtNombreRutina.Text;
            IniciaSesion.gymMan.addRutina(a);

            Console.WriteLine("registrado con exito");
            //refreshRutina();
        }
    }
}
